<?php

namespace Alipay\AlipayFund\Request;

use Alipay\AlipayFund\Info\Parties;
use Alipay\AlipayFund\Info\PayeeList;
use Alipay\AlipayFund\Response\AlipayFundAccountQueryResponse;
use Alipay\AlipayFund\Response\AlipayFundBatchCloseResponse;
use Alipay\AlipayFund\Response\AlipayFundTransPagePayResponse;
use Alipay\Common\Request;
use Alipay\Common\RequestBase;

class AlipayFundAccountQueryRequest extends RequestBase
{
    protected $method = 'alipay.fund.account.query';

    protected $response = AlipayFundAccountQueryResponse::class;


    /**
     * @var string $alipayUserId
     */
    protected $alipayUserId;

    /**
     * 生成请求参数
     * @return array
     * @author xis
     */
    public function generate(): array
    {
        return [
            'alipay_user_id' => $this->alipayUserId,
            'account_type' => 'ACCTRANS_ACCOUNT',
        ];
    }

    /**
     * @return string
     */
    public function getAlipayUserId(): string
    {
        return $this->alipayUserId;
    }

    /**
     * @param string $alipayUserId
     * @return AlipayFundAccountQueryRequest
     */
    public function setAlipayUserId(string $alipayUserId): AlipayFundAccountQueryRequest
    {
        $this->alipayUserId = $alipayUserId;
        return $this;
    }


}